package com.example.blog.dto.users;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
public class AdminSelectAdminInfoDto {
    @Min(value = 1,message = "最小值为一")
    private Integer index;//第几页
    @Min(value = 10,message = "最小值为10")
    @Max(value = 10,message = "最大值为30")
    private Integer page; //每页显示数
    private String condition; //描述其他内容
}
